<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>线条背景的登录页面ui模板</title>
	<script type="text/javascript">
	
		
		function but(){
			var a = document.getElementById("usernem").value
			if  (a >= 100){
				alert("活着挺没意思的。死了算了！")
			}else if (a >= 80){
				alert("你也土埋眉毛了，选好墓地了么？")
			}else if (a >= 60){
				alert("你也该退休了，报孙子了么？")
			}else if (a >= 30){
				alert("你已经中年了，赶紧结婚吧！")
			}else if (a >= 18){
				alert("你已经成年了，处对象不？")
			}else if (a <= 17){
				alert("你还未成年，叔叔不是人。")
			}
		}
		
		
		// var Usernem = Button
	</script>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<canvas class="cavs" width="1575" height="1337"></canvas>

<div class="loginmain">
    <div class="login-title">
        <span>小姐姐请问芳龄多少</span>
    </div>

    <div class="login-con">
        <div class="login-user">
            <div class="icon">
                <img src="image/user_icon_copy.png" alt="">
            </div>
            <input type="text" id="usernem" placeholder="请输入年龄" autocomplete="off" value="">
        </div>
       
        <div class="login-btn">
            <input type="button" value="提交" onclick="but()">
        </div>
    </div>

</div>

</body>
</html>

<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="js/ban.js"></script>